package com.sunny.wordstudy.lib;

import android.telephony.TelephonyManager;

public class Stat
{
  public static final int WS_SR_FOREVER = 3;
  public static final int WS_SR_FORGOT = 0;
  public static final int WS_SR_GIVEUP = 2;
  public static final int WS_SR_OK = 1;
  public static final int WS_ST_CHOOSE_MEAN = 1;
  public static final int WS_ST_CHOOSE_WORD = 2;
  public static final int WS_ST_SPELL_MEAN = 4;
  public static final int WS_ST_SPELL_WORD = 3;
  private static Stat iStat;
  private final int LIMIT_DAY_COUNT = 30;
  private final int LIMIT_EVAL_DAYS = 14;
  private final int LIMIT_EVAL_STUDYTIME = 21600;
  private final int LIMIT_HIGH_TESTCOUNT = 200;
  private final int LIMIT_HIGH_TRIALCOUNT = 500;
  private final int LIMIT_LOW_TESTCOUNT = 100;
  private final int LIMIT_LOW_TRIALCOUNT = 200;
  private int iReged = 0;

  static
  {
    System.loadLibrary("wordstudy");
    init();
    iStat = new Stat();
  }

  public static native void deinit();

  public static Stat getInstance()
  {
    return iStat;
  }

  public static native void init();

  public boolean check0(int paramInt1, int paramInt2)
  {
    if ((this.iReged == 0) && (getTotalLearnNum() > 200 + paramInt2 * 300 / paramInt1));
    for (int i = 1; ; i = 0)
      return i;
  }

  public boolean check1(int paramInt1, int paramInt2)
  {
    if ((this.iReged == 0) && (getTotalLearnNum() > 100 + paramInt2 * 100 / paramInt1));
    for (int i = 1; ; i = 0)
      return i;
  }

  public boolean checkHide(int paramInt1, int paramInt2)
  {
    return false;
  }

  public native int checkStudyDBVer();

  public native long getAllStudiedNum();

  public native long getAllWordOkNum();

  public native long getBlockWordOkNum();

  public native long getBookWords();

  public native String getChooseItem(int paramInt);

  public native String getDBSummary(String paramString);

  public native String getDictEncoding();

  public native String getDictLang();

  public native long getIntroduceNum();

  public native long getLastStudyStat();

  public int getReged()
  {
    return this.iReged;
  }

  public native long getReviewNum();

  public native long getSessionLearnedTime();

  public native String getSessionTime();

  public native long getSessionType();

  public native String getStudyBookName();

  public native String getStudyEncoding();

  public native String getStudyLang();

  public native String getStudyWord();

  public native String getStudyWordMean();

  public native String getStudyWordRel();

  public native String getStudyWordSample();

  public native String getStudyWordVoice();

  public native long getTestFailNum();

  public native long getTestOkNum();

  public native long getTotalIntroducedWords();

  public native long getTotalLearnNum();

  public native long getTotalLearnTime1(boolean paramBoolean);

  public native long getTotalLearnedTime();

  public native long getWordForgetNum();

  public native long getWordLearnNum();

  public native long getWordNum();

  public native String getWordRp();

  public native int getWordShowPos();

  public native boolean isTestMode();

  public native void resetStudyData();

  public native void setDict(String paramString);

  public native void setIMEI(TelephonyManager paramTelephonyManager);

  public native void setRegSN(String paramString);

  public void setReged(int paramInt)
  {
    this.iReged = paramInt;
  }

  public native void setStudy(String paramString);

  public native void setUseRandomWord(boolean paramBoolean);
}

/* Location:           E:\Desktop\Android\yanguangbeidanci\classes_dex2jar.jar
 * Qualified Name:     com.sunny.wordstudy.lib.Stat
 * JD-Core Version:    0.5.3
 */